home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 2 / MacMania 2.toast / Demo's / Tools&Utilities / Updaters / Symantec C++⁄MPW 6.0.1 / SCpp 6.0.1 Update / SCIncludes / ActionAtomIntf.h next >
Encoding:
C/C++ Source or Header  |  1992-09-21  |  1.3 KB  |  56 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ActionAtomIntf.h
  3.  
  4.     Contains:    C declarations for things the Installer wants to tell 
  5.                 action atoms about.
  6.  
  7.     Written by:    Bobby Carp
  8.  
  9.     Copyright:    © 1990 by Apple Computer, Inc., all rights reserved.
  10.  
  11.     Change History (most recent first):
  12.  
  13.          <4>     11/5/91    RRK        Added Function prototype comment
  14.          <3>     11/7/90    BAC        Need to include types.h
  15.          <2>     11/7/90    BAC        Adding the AAPBRec that defines the parameters an action atom
  16.                                     receives.
  17.          <1>     10/8/90    BAC        first checked in
  18.  
  19.     To Do:
  20. */
  21.  
  22. #include <Types.h>
  23.  
  24.  
  25. enum { before, after, cleanUpCancel };
  26. typedef unsigned char InstallationStage ;
  27.  
  28.  
  29. /* The action atom param block record contains all of the parameters that action atoms */
  30. /* receive.  The first (and only) parameter to action atoms is a ptr to this block (AAPBRecPtr) */
  31.  
  32. struct AAPBRec {
  33.     short                targetVRefNum;
  34.     long                blessedDirID;
  35.     long                aaRefCon;
  36.     Boolean                doingInstall;
  37.     InstallationStage    whichStage;
  38.     Boolean                didLiveUpdate;
  39.     long                installerTempDirID;
  40. };
  41.  
  42. typedef struct AAPBRec AAPBRec;
  43.  
  44. typedef AAPBRec *AAPBRecPtr;
  45.  
  46. /*
  47.     The function prototype for the format 0 Action Atom code is as follows
  48.     
  49.     Boolean    MyActionAtom(AAPBRecPtr myAAPBPtr)
  50.     
  51.     
  52.     The function prototype for the format 1 Action Atom code is as follows
  53.     
  54.     long    MyActionAtom(AAPBRecPtr myAAPBPtr)
  55.     
  56. */